#pragma once

#include "models/user.hpp"
#include <optional>

class UserDao {
public:
    static bool createUser(const User& user);
    static std::optional<User> getUserByUsername(const std::string& username);
    static bool userExists(const std::string& username);
};
